<?php
/**
 * Created by PhpStorm.
 * User: WAN-XIANG-PC
 * Date: 2017/12/8
 * Time: 18:21
 */

namespace app\common\validate;

use app\common\validate\Base;
class Agent extends Base
{

    protected $rule = [
        'type_id|代理类型' => 'require',
        'level_id|会员等级' => 'require',
        'origin' => 'checkOrigin',
        'target' => 'checkTarget',
        'ratio' => 'checkRatio',
    ];

    protected $message = [];

    protected $scene = [
        'agent_type_offset' => [],
    ];

    protected function checkOrigin($v, $rule, $data)
    {

    }

    protected function checkTarget($v, $rule, $data)
    {

    }

    protected function checkRatio($v, $rule, $data)
    {

    }
}